<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <script>
    $(document).ready(function(){
    	$("#noticeUpdateForm").submit(function(){
    		if($("#noticeUpdateForm :input[name=noticeTitle]").val()==""){
				alert("제목을 입력하세요");				
				return false;
			}
    		if($("#noticeUpdateForm :input[name=noticeContent]").val()==""){
				alert("내용을 입력하세요");				
				return false;
			}
    	});
    });
    </script>
<form method=post action="admin_updateNotice.do" id="noticeUpdateForm">
			<table class="content">
				<tr>
					<td>
					<b>글번호: <input type=text name=noticeNo value=${requestScope.nvo.noticeNo } readonly></input>
					| 타이틀:<input type=text name=noticeTitle value=${requestScope.nvo.noticeTitle }></input></b>
					</td></tr>
				<tr>
					<td>						
				<textarea rows="15" cols="75" name="noticeContent">${requestScope.nvo.noticeContent }</textarea>
					</td>
				</tr>
				<tr>
					<td valign="middle">						
					<input type="submit" value="수정하기"	></input>
					</td>				
				</tr>
			</table>
</form>
